package suggestions

import (
	"github.com/gin-gonic/gin"
	. "savor_gin/controllers/suggestions"
)

func SuggestionLoad(g *gin.Engine) {
	g.POST("/suggestion", AddSuggestion)
	g.GET("/suggestion/search", GetSuggestionListByUserId)
	g.GET("/suggestion/recipe", GetSuggestionListByRecipeId)
	g.DELETE("/suggestion", DeleteSuggestion)
}
